﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddApply.aspx.cs" Inherits="StreetCenter_AddApply"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>海曙区廉租住房保障----填写申请表</title>
    <link href="../Css/nmain.css" rel="stylesheet" type="text/css"/>
	<script type="text/javascript" src="../Style/jquery.js"></script>
    <script type="text/javascript" src="../Style/Calendar.js"></script>
    <script type="text/javascript" src="../Style/AddApply.js"></script>
    <script type="text/javascript" src="../Style/addApplyNew.js" charset="utf-8"></script>
    <%=disableCSS%>
</head>
<body>
    <form id="form1" runat="server" onsubmit="return Check()">
    <table width="1004" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td height="89" valign="top" background="../Images/Main_1.jpg"><table width="100%" height="31" border="0" align="right" cellpadding="0" cellspacing="0">
      <tr>
        <td width="73%">&nbsp;</td>
        <td width="27%" valign="top">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td background="../Images/Main_07.jpg" style="height: 28px">&nbsp;</td>
  </tr>
</table>
<table width="1004" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top" bgcolor="#98D7E8" style="height: 800px"><table width="95%" height="33" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="70" align="center" class="heise1">海曙区廉租住房保障申请审核表<br />
            <div style="float:right; padding-right:20px">NO.<asp:Label ID="lblnoid" runat="server" ForeColor="Red"></asp:Label></div>&nbsp;        </td>
      </tr>
    </table>
      <table width="99%" height="792" border="1" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
      <tr>
        <td height="40" colspan="3" align="center" bgcolor="#FFFFFF">户籍地址</td>
        <td height="40" colspan="10" align="center" bgcolor="#FFFFFF">
            <asp:TextBox ID="txbaddress" runat="server" Width="373px" CssClass="UnderlineButton1" ></asp:TextBox></td>
        <td height="40" colspan="3" align="center" bgcolor="#FFFFFF">联系电话</td>
        <td height="40" colspan="4" align="center" bgcolor="#FFFFFF">&nbsp;<asp:TextBox ID="txbphone" runat="server" CssClass="UnderlineButton1" Width="128px"></asp:TextBox></td>
        </tr>
      <tr>
        <td height="30" colspan="20" align="left" bgcolor="#FFFFFF" valign="top">
       	<table width="100%" border="1" cellpadding="0" cellspacing="0" style="border-top:none; border-bottom:none; border-left:none; border-right:none">
          <tr>
            <td colspan="7" border="1" height="20" valign="top" id="application">
                <table width="100%" border="1" cellspacing="0" style="border-top:none;border-bottom:none;border-left:none;border-right:none;">
                    <tr>
                      <td width="7%" height="50">称谓</td>
                      <td style="width: 7%">姓名</td>
                      <td style="width: 7%">婚姻状况</td>
                      <td style="width: 24%">工作单位</td>
                      <td width="24%">身份证号码</td>
                      <td style="width: 19%">前12个月收入</td>
                      <td style="width: 9%">是否是保障人口</td>
                      <td><input type="button" value="添加" name="addFieldBT" onclick="AddRowApplication();getHouseTotalArea();Subsidy();"/></td>
                    </tr>
                </table>
                <table width="100%" border="1" cellspacing="0" style="border-top:none;border-bottom:none;border-left:none;border-right:none;">
                    <tr>
                      <td height="42" style="width: 56px"><asp:TextBox ID="txbapplytitle" runat="server" CssClass="UnderlineButton1"
                              Width="90%" ReadOnly="True">申请人</asp:TextBox></td>
                      <td style="width: 58px"><asp:TextBox ID="txbname" runat="server" CssClass="UnderlineButton1" Width="50px"></asp:TextBox></td>
                      <td style="width: 59px"><asp:DropDownList ID="ddlmarryed" runat="server">
                              <asp:ListItem Value="未婚">未婚</asp:ListItem>
                              <asp:ListItem Value="已婚">已婚</asp:ListItem>
                          <asp:ListItem Value="离婚">离婚</asp:ListItem>
                          <asp:ListItem Value="丧偶">丧偶</asp:ListItem>
                          </asp:DropDownList></td>
                      <td style="width: 212px"><asp:TextBox ID="txbunit" runat="server" CssClass="UnderlineButton1" Width="200px"></asp:TextBox></td>
                      <td style="width: 214px"><asp:TextBox ID="txbcard" runat="server" CssClass="UnderlineButton1" Width="195px" onblur="isChinaIDCard('txbcard');"></asp:TextBox></td>
                      <td style="width: 168px"><asp:TextBox ID="txbincome" name="txbincome" runat="server" CssClass="UnderlineButton1" Width="150px"  onkeyup="OnlyNumber('txbincome','收入');Totleincome('txbincome','text_val','ckbispro')"  onchange="OnlyNumber('txbincome','收入');Totleincome('txbincome','text_val','ckbispro')"  onclick="OnlyNumber('txbincome','收入');Totleincome('txbincome','text_val','ckbispro');">0</asp:TextBox>
                      <input type="hidden" id="text_val" value="0" />
                      </td>
                      <td style="width: 72px">&nbsp;&nbsp;<asp:CheckBox ID="ckbispro" runat="server" Checked="True" onclick="CountIsproNum('ckbispro');Totleincome('txbincome','text_val','ckbispro');Subsidy();"  /></td>
                      <td style="width: 38px">&nbsp;</td>
                    </tr>
              </table><%=OtherApplicantHTML%></td>
          </tr>
          <tr>
            <td width="27%" height="90" rowspan="2">家庭前12个月总收入</td>
            <td width="12%" rowspan="2">
                <input id="txbtotleincome" name="txbtotleincome" class="UnderlineButton1" style="width:80px" type="text" readonly="readOnly" value="0" />元</td>
            <td rowspan="2" style="width: 11%">家庭人数</td>
            <td width="12%" rowspan="2">
                <input id="txbpeoplenumIsPro" name="txbpeoplenumIsPro" type="text" class="UnderlineButton1" style="width:50px" readonly="readOnly" value="<%=ProNum.ToString() %>"/><input id="txbpeoplenum" name="txbpeoplenum" type="hidden" class="UnderlineButton1" style="width:50px" readonly="readOnly" value="<%=FamilyNum.ToString() %>"/>人</td>
            <td height="40" colspan="2">前12个月人均收入</td>
            <td colspan="2" style="width: 129px">
                <input id="txbavgincome" name="txbavgincome" type="text" class="UnderlineButton1" style="width:100px" readonly="readOnly" value="0"/>元</td>
          </tr>
          <tr>
            <td height="42" colspan="2">前12个月人均月收入</td>
            <td colspan="2" style="width: 129px">
                <input id="txbavgmonthincome" name="txbavgmonthincome" type="text" class="UnderlineButton1" style="width:100px" readonly="readOnly" value="0"/>元</td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td colspan="2" rowspan="5" align="center" bgcolor="#FFFFFF">家<br/>
          庭<br/>
          财<br/>
          产</td>
        <td height="30" colspan="11" bgcolor="#FFFFFF">存款、股票、基金本金和国库券及有价证券</td>
        <td height="30" colspan="7" align="center" bgcolor="#FFFFFF">          
            <asp:TextBox ID="txbsecuritie" runat="server" CssClass="UnderlineButton1" Width="80%" onblur="TotleMoney('txbsecuritie','money1');OnlyNumber('txbsecuritie','财产')"></asp:TextBox>元
            <input type="hidden" id="money1" value="0" />
            </td>
      </tr>
      <tr>
        <td colspan="11" bgcolor="#FFFFFF" style="height: 29px">房产（包括厂房、店面房）、汽车等财产</td>
        <td colspan="7" align="center" bgcolor="#FFFFFF" style="height: 29px">          
            <asp:TextBox ID="txbestate" runat="server" CssClass="UnderlineButton1" Width="80%" onblur="TotleMoney('txbestate','money2');OnlyNumber('txbestate','财产')"></asp:TextBox>元
            <input type="hidden" id="money2" value="0" />
            </td>
        </tr>
      <tr>
        <td height="30" colspan="11" bgcolor="#FFFFFF">生产设备等固定资产</td>
        <td height="30" colspan="7" align="center" bgcolor="#FFFFFF">          
            <asp:TextBox ID="txbdevice" runat="server" CssClass="UnderlineButton1" Width="80%" onblur="TotleMoney('txbdevice','money3');OnlyNumber('txbdevice','财产')"></asp:TextBox>元
            <input type="hidden" id="money3" value="0" />
            </td>
        </tr>
      <tr>
        <td height="30" colspan="11" bgcolor="#FFFFFF">其他较高价值财产</td>
        <td height="30" colspan="7" align="center" bgcolor="#FFFFFF">          
            <asp:TextBox ID="txbothers" runat="server" CssClass="UnderlineButton1" Width="80%" onblur="TotleMoney('txbothers','money4');OnlyNumber('txbothers','财产')"></asp:TextBox>元
            <input type="hidden" id="money4" value="0" />
            </td>
        </tr>
      <tr>
        <td colspan="11" align="center" bgcolor="#FFFFFF" style="height: 30px">合计</td>
        <td colspan="7" align="center" bgcolor="#FFFFFF" style="height: 30px">          
            <input id="txbtotleproperty" name="txbtotleproperty" type="text" class="UnderlineButton1" style="width:194px" readonly="readOnly" value="0"/>元</td>
        </tr>
      <tr>
        <td height="30" colspan="20" align="center" bgcolor="#FFFFFF" valign="top">
        <table width="100%" border="1" cellpadding="0" cellspacing="0"  style="border-top:none; border-bottom:none; border-left:none; border-right:none">
          <tr>
            <td rowspan="2" style="width: 4%">住<br/>房<br/>状<br/>况</td>
            <td height="84" colspan="7" valign="top" id="houses">
                <table width="100%" border="1" cellspacing="0"  style="border-top:none; border-bottom:none; border-left:none; border-right:none">
                    <tr>
                      <td width="25px" style="height: 37px">&nbsp;</td>
                      <td style="width: 183px; height: 37px;">房屋坐落</td>
                      <td width="80px" style="height: 37px">
                          建筑面积（㎡）</td>
                      <td width="90px" style="height: 37px">产权人或承租人姓名</td>
                      <td style="width: 135px; height: 37px;">所有权证或租赁合同号</td>
                      <td style="width: 155px; height: 37px;">产权性质</td>
                      <td style="width: 168px; height: 37px;">备注</td>
                      <td style="width: 78px; height: 37px;">是否参与计算</td>
                      <td style="width: 42px; height: 37px;"><input type="button" value="添加" name="addFieldBT1" onclick="AddRowHousing();"/></td>
                    </tr>
                </table>
                <table width="100%" border="1" cellspacing="0"  style="border-top:none; border-bottom:none; border-left:none; border-right:none">
                    <tr>
                      <td width="25px" style="height: 37px">1&nbsp;</td>
                      <td style="width: 175px; height: 37px;"><asp:TextBox ID="txblocal" runat="server" CssClass="UnderlineButton1" Width="150px"></asp:TextBox></td>
                      <td style="height: 37px; width: 80px;"><asp:TextBox ID="txbarea" runat="server" CssClass="UnderlineButton1" Width="45px" onblur="getHouseTotalArea();OnlyNumber('txbarea','建筑面积')"></asp:TextBox></td>
                      <td style="height: 37px; width: 87px;"><asp:TextBox ID="txbowner" runat="server" CssClass="UnderlineButton1" Width="60px"></asp:TextBox></td>
                      <td style="width: 129px; height: 37px;"><asp:TextBox ID="txbownproof" runat="server" CssClass="UnderlineButton1" Width="100px"></asp:TextBox></td>
                      <td style="width: 149px; height: 37px;"><asp:TextBox ID="txbnature" runat="server" CssClass="UnderlineButton1" Width="100px"></asp:TextBox></td>
                      <td style="width: 161px; height: 37px;"><asp:TextBox ID="txbremark" runat="server" CssClass="UnderlineButton1" Width="150px"></asp:TextBox></td>
                      <td style="width: 78px; height: 37px;"><input id="ckbaddcount" type="checkbox" onclick="getHouseTotalArea();" runat="server"/></td>
                      <td style="width: 42px; height: 37px;">&nbsp; &nbsp; &nbsp;&nbsp;
                      </td>
                    </tr>
                </table><%=OtherHouseHTML%>
                </td>
          </tr>
          <tr>
            <td width="14%" height="42">住房建筑面积合计</td>
            <td width="16%">
                <input id="txbtotlearea" name="txbtotlearea" type="text" class="UnderlineButton1" style="width:137px" readonly="readOnly" value="<%=HouseTotalArea.ToString() %>"/>㎡</td>
            <td colspan="3">人均建筑面积</td>
            <td width="27%" colspan="2">
                <input id="txbavgarea" name="txbavgarea" type="text" class="UnderlineButton1" style="width:137px" readonly="readOnly" value="<%= EditApply.apply_avgarea.ToString()%>"/>㎡</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td width="20%" rowspan="2" align="center" bgcolor="#FFFFFF">相<br/>
          关<br/>
          证<br/>
          明<br/>
          材<br/>
          料</td>
        <td colspan="10" rowspan="2" align="center" bgcolor="#FFFFFF" style="text-align:center">
        <div style="">
            <asp:RadioButtonList ID="rbldoc" runat="server"  
 RepeatColumns="2"
                TextAlign="Left" style="text-align: justify" onclick="ShowDocTpye()">
            </asp:RadioButtonList></div><div id="show" style=" margin-top:5px; margin-bottom:5px; width:60%; border:1px dashed #333; height:30px; color:#333; line-height:30px; text-align:center" runat=server></div>
            </td>
        <td height="60" colspan="3" align="center" bgcolor="#FFFFFF">证件号</td>
        <td height="60" colspan="6" align="center" bgcolor="#FFFFFF">
            <asp:TextBox ID="txbproofnum" runat="server" CssClass="UnderlineButton1" Width="90%"></asp:TextBox>&nbsp;<br />
            <asp:CheckBox ID="cbisLengthenAYear" runat="server" />已延长一年</td>
      </tr>
      <tr>
        <td height="60" colspan="3" align="center" bgcolor="#FFFFFF">有效期</td>
        <td height="60" colspan="6" align="center" bgcolor="#FFFFFF"><asp:DropDownList ID="ddlyear4" runat="server"  
         onchange="docYearClick(this.selectedIndex)" >
        </asp:DropDownList>年<asp:DropDownList ID="ddlmonth4" runat="server"  onchange="docMonthClick(this.selectedIndex)">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
        </asp:DropDownList>月&nbsp;</td>
        </tr>
        <tr>
        	<td height="30" colspan="20" align="center" bgcolor="#FFFFFF" valign="top"><table width="100%" border="1" cellpadding="5" cellspacing="0" style="border-top:none; border-bottom:none; border-left:none; border-right:none">
        	  <tr>
        	    <td width="11%" height="40" rowspan="3">保障类型</td>
        	    <td height="20" colspan="2" style="width: 323px">
        	        <asp:CheckBox ID="ckbsubsidy" runat="server" Text="租金补贴" onclick="Subsidy()"/>
        	        <br />
        	        金额：<input type="text" class="UnderlineButton1" id="submoney" size="3" runat="server" /><div style="width:250px"   id="subsidy" runat=server></div>
        	    </td>
        	    <td width="27%" rowspan="2"><asp:CheckBox ID="ckbreduce" runat="server" onclick="Reduce()" Text="租金减免" />   
        	        <div id="reduce" runat=server></div>
        	    </td>
        	    <td width="23%" rowspan="2"><asp:CheckBox ID="ckbkind" runat="server" onclick="Kind()" Text="实物配租"/>
        	        <div id="kind" runat=server></div>
        	    </td>
      	    </tr>
        	  <tr>
        	    <td height="20" style="width: 323px">补发：  
                    <asp:TextBox ID="tbAddSubsidyNum" runat="server" CssClass="UnderlineButton1" Width="46px">0</asp:TextBox></td>
        	    <td style="width: 323px">追补：<asp:TextBox ID="tbCutSubsidyNum" runat="server" CssClass="UnderlineButton1" Width="51px">0</asp:TextBox></td>
      	      </tr>
        	  <tr>
        	    <td height="40" colspan="2" style="width: 323px">
                    有效期：<asp:DropDownList ID="ddlyear1" runat="server">
                    </asp:DropDownList>年<asp:DropDownList ID="ddlmonth1" runat="server">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>月</td>
        	    <td>
                    有效期：<asp:DropDownList ID="ddlyear2" runat="server">
                </asp:DropDownList>年
                <asp:DropDownList ID="ddlmonth2" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>月</td>
        	    <td>
                    有效期：<asp:DropDownList ID="ddlyear3" runat="server">
                    </asp:DropDownList>年
                    <asp:DropDownList ID="ddlmonth3" runat="server">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>月</td>
      	    </tr>
        	  <tr>
        	    <td height="40">汇款类型</td>
        	    <td colspan="3"><asp:CheckBox ID="chkcard" runat="server" Text="打卡" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;卡号<asp:TextBox
                    ID="txbcardnum" runat="server" CssClass="UnderlineButton1" Width="42%"></asp:TextBox></td>
        	    <td><asp:CheckBox ID="chkmoney" runat="server" Checked="True" Text="现金" /></td>
       	      </tr>
      	  </table>
        	</td>
        </tr>
      <tr>
        <td colspan="20" align="center" bgcolor="#FFFFFF" style="height: 67px"><table width="99%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="30" colspan="2">　　本人承诺，上述填写内容全部真实有效，若有隐瞒、作假，自愿取消廉租住房保障资格，并承担法律责任。</td>
            </tr>
          <tr>
            <td height="30" align="left">
                审核表编号:<span class="heise1">
              <asp:TextBox ID="apply_longid" runat="server" CssClass="UnderlineButton1" Width="128px"></asp:TextBox>
            </span></td>
            <td height="30" align="left">
                发放年月：&nbsp;<asp:DropDownList ID="EffectDateYear" runat="server">
                </asp:DropDownList>年
                <asp:DropDownList ID="EffectDateMonth" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                </asp:DropDownList>月</td>
          </tr>
          <tr>
            <td width="62%" height="30" align="left">申请日期：
<asp:TextBox ID="txbapplytime" runat="server" CssClass="UnderlineButton1"
                    Width="112px" onfocus="calendar()"></asp:TextBox></td>
            <td width="38%" height="30" align="left" runat="server" id="tdEditNote">调整原因：<asp:TextBox ID="tbEditNote" runat="server" TextMode="MultiLine"></asp:TextBox></td>
          </tr>
            <tr>
              <td colspan="2" align="center" style="height: 49px" >  <asp:HyperLink ID="HyperLink1" runat="server" CssClass="btn" Height="28px" Visible="False"
                    Width="126px">校对</asp:HyperLink>
                <asp:Button ID="btnapply" runat="server" Text="点　击　申　请" OnClick="btnapply_Click" Height="31px" Width="126px"/>                
                <asp:Button ID="btnedit" runat="server" Text="点　击　修　改" OnClick="btnedit_Click" Height="31px" Width="126px" Visible="False" />&nbsp;
            
           <asp:HyperLink ID="HyperLink2" runat="server" Height="31px" Width="90px" CssClass="btn">需要删除？</asp:HyperLink> </td>
            </tr>
            <tr>
                <td colspan="2" style="height: 49px" >
                    编号为：<asp:Label ID="lblid" runat="server"></asp:Label>
                    &nbsp; 永久性删除，慎重操作 &nbsp;
                    <asp:Button ID="btnDel" runat="server" BorderColor="Black"   ForeColor="Red" OnClick="Button1_Click"
                        Text="确定删除" Width="90px"  ondblclick="document.form1.onSubmit='return true'"/>
                    </td>
            </tr>
        </table>
            <input id="otherrentstandard" type="hidden" runat="server" />
            <input id="lowrentstandard" type="hidden"  runat="server"/>
            <input id="onlyonearea" type="hidden" runat="server" />
            <input id="homeavgarea" type="hidden" runat="server" />
            <input id="standardlowarea" type="hidden" runat="server" />
            <input id="thetype" name="thetype" type="hidden" runat="server" /></td>
                        
        </tr>
    </table>
      <p>&nbsp;<input id="subarea" type="hidden" runat="server" />
            </p>
    </td>
  </tr>
</table>
    </form>
</body>
</html>